package com.shangyueshang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shangyueshang.model.Supplier;
import com.shangyueshang.request.PageReq;
import com.shangyueshang.response.HttpResult;
import com.shangyueshang.response.PageResult;

/**
 * @author JokeyFeng
 * @date: 2022/1/16 11:47
 * @project: shangyueshang
 * @package: com.shangyueshang.service
 * @comment:
 */
public interface SupplierService extends IService<Supplier> {
	
	/**
	 * 保存供应商信息
	 *
	 * @param supplier
	 * @return
	 */
	HttpResult saveUpdate(Supplier supplier);
	
	/**
	 * 分页查询
	 *
	 * @param pageReq
	 * @return
	 */
	PageResult findPage(PageReq pageReq);
}
